package bud.web.menu;

import java.util.ArrayList;
import java.util.List;

import org.apache.tiles.AttributeContext;
import org.apache.tiles.context.TilesRequestContext;
import org.apache.tiles.preparer.ViewPreparer;

public class BoardbudMenu implements ViewPreparer{

	@Override
	public void execute(TilesRequestContext arg0, AttributeContext arg1) {
		List<MenuBean> boardbudMenuList = new ArrayList<>();
		
		MenuBean menu1 = new MenuBean();
		menu1.setUrl("/boardbudList.do");
		menu1.setUrlName("벗게시판");

		boardbudMenuList.add(menu1);
		arg0.getRequestScope().put("boardbudList", boardbudMenuList);
		
	}

}
